package com.snake.springboot.custom.dao.mybatis.entity.bill;

import java.math.BigDecimal;

/**
 * 商户账单
 */
public class BillDO {
    /**
    * 账单编号
    */
    private String billId;

    /**
    * 商户ID
    */
    private String customId;

    private String customName;

    /**
    * 购买账号
    */
    private String byAccount;

    /**
    * 账单状态：0 待支付 1 已完成 2 已退款 3已关闭
    */
    private Integer orderState;

    /**
    * 商品名称
    */
    private String goodsName;

    /**
    * 支付ID
    */
    private String payId;

    /**
    * 支付金额
    */
    private BigDecimal payAmount;

    /**
    * 支付状态：0 未支付 1 已支付
    */
    private Integer payState;

    /**
    * 退款状态：0未退款 1已退款 2 部分退款
    */
    private Integer retState;

    /**
    * 退款金额
    */
    private BigDecimal retAmount;

    /**
    * 退款时间
    */
    private String retTime;

    /**
    * 操作人
    */
    private String operator;

    /**
    * 操作人ID
    */
    private String operatorId;

    /**
    * 订单类型：points-pay 算力充值 strategy-pay 策略购买
    */
    private String billType;

    /**
    * 修改时间
    */
    private String updatedTime;

    /**
    * 创建时间
    */
    private String createdTime;
    private Integer payAccType;

    private String payTime;

    private String startTime;

    private String endTime;


    public String getCustomName() {
        return customName;
    }

    public void setCustomName(String customName) {
        this.customName = customName;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Integer getPayAccType() {
        return payAccType;
    }

    public void setPayAccType(Integer payAccType) {
        this.payAccType = payAccType;
    }

    public String getBillId() {
        return billId;
    }

    public void setBillId(String billId) {
        this.billId = billId;
    }

    public String getCustomId() {
        return customId;
    }

    public void setCustomId(String customId) {
        this.customId = customId;
    }

    public String getByAccount() {
        return byAccount;
    }

    public void setByAccount(String byAccount) {
        this.byAccount = byAccount;
    }

    public Integer getOrderState() {
        return orderState;
    }

    public void setOrderState(Integer orderState) {
        this.orderState = orderState;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getPayId() {
        return payId;
    }

    public void setPayId(String payId) {
        this.payId = payId;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public Integer getPayState() {
        return payState;
    }

    public void setPayState(Integer payState) {
        this.payState = payState;
    }

    public Integer getRetState() {
        return retState;
    }

    public void setRetState(Integer retState) {
        this.retState = retState;
    }

    public BigDecimal getRetAmount() {
        return retAmount;
    }

    public void setRetAmount(BigDecimal retAmount) {
        this.retAmount = retAmount;
    }

    public String getRetTime() {
        return retTime;
    }

    public void setRetTime(String retTime) {
        this.retTime = retTime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public String getBillType() {
        return billType;
    }

    public void setBillType(String billType) {
        this.billType = billType;
    }

    public String getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(String updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }
}